import { Tree } from 'antd';

export default function index() {
  const treeData = [
    {
      key: 1,
      title: '123',
      children: [
        {
          title: '12-12',
          key: 2,
        },
      ],
    },
  ];
  return (
    <div>
      <Tree
        defaultExpandAll={true}
        treeData={treeData}
        checkable={true}
        checkStrictly={true}
      />
    </div>
  );
}
